<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt"  prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<title>后台管理系统</title>
<meta name="author" content="DeathGhost" />
<link rel="stylesheet" type="text/css" href="css/style.css">
<link  href="css/style.css" rel="stylesheet" type="text/css">
<script src="js/jquery.js"></script>
<script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<script>
	(function($){
		$(window).load(function(){
			
			$("a[rel='load-content']").click(function(e){
				e.preventDefault();
				var url=$(this).attr("href");
				$.get(url,function(data){
					$(".content .mCSB_container").append(data); //load new content inside .mCSB_container
					//scroll-to appended content 
					$(".content").mCustomScrollbar("scrollTo","h2:last");
				});
			});
			
			$(".content").delegate("a[href='top']","click",function(e){
				e.preventDefault();
				$(".content").mCustomScrollbar("scrollTo",$(this).attr("href"));
			});
			
		});
	})(jQuery);
</script>
</head>
<body>
<!--header-->
<header>
 <h1><img src="images/admin_logo.png"/></h1>
 <ul class="rt_nav">
  <li><a href="#" target="_blank" class="website_icon">站点首页（放全端首页）</a></li>
  <li><a href="../den" class="quit_icon">安全退出</a></li>
 </ul>
</header>
<aside class="lt_aside_nav content mCustomScrollbar">
 <h2><a href="index.jsp">起始页</a></h2>
 <ul>
 <li>
   <dl>
    <dt>常用布局示例</dt>
    <dd><a href="../loginpage" class="active">商品列表示例</a></dd>
    <dd><a href="product_detail.jsp">商品详情示例</a></dd>
    <dd><a href="zengjia.jsp">商品增加示例</a></dd>
    <dd><a href="../getpage">商品回收站示例</a></dd>
   </dl>
  </li>
  <li>
   <dl>
    <dt>订单信息</dt>
    <dd><a href="../all">订单列表示例</a></dd>
    <dd><a href="#">订单详情示例</a></dd>
   </dl>
  </li>
  <li>
    <dl>
    <dt>会员管理</dt>
    <dd><a href="../page">会员列表示例</a></dd>
    <dd><a href="user_detail.jsp">添加会员（详情）示例</a></dd>
   </dl>
  </li>
  <li>
   <dl>
    <dt>配送与支付设置</dt>
    <dd><a href="express_list.jsp">配送方式</a></dd>
    <dd><a href="pay_list.jsp">支付方式</a></dd>
   </dl>
  </li>
  <li>
   <p class="btm_infor">熊 版权所有</p>
  </li>
 </ul>
</aside>
<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
      <div class="page_title">
       <h2 class="fl">会员列表</h2>
       <a href="user_detail.jsp" class="fr top_rt_btn add_icon">添加新会员</a>
      </div>

       <form action="chaxun" method="post">
       <input type="text" class="textbox textbox_225" name="name" placeholder="输入会员号" />
       <input type="submit" value="查询" class="group_btn"/>
       </form>
      <table class="table">
       <tr>
        <th>Id</th>
        <th>会员账号</th>
        <th>手机号码</th>
        <th>电子邮件</th>
        <th>操作</th>
       </tr>
        <c:forEach var="li" items="${list}" varStatus="status">
       <tr>
        <td class="center">${li.keid}</td>
        <td>${li.custId}</td>
        <td class="center">${li.custPhone}</td>
        <td class="center">${li.custEmail}</td>
        <td class="center">
         <a href="user_detail.jsp" title="编辑" class="link_icon">&#101;</a>
         <a href="#" title="删除" class="link_icon">&#100;</a>
        </td>
       </tr>
       </c:forEach>
      </table>
      <aside class="paging">
       <a>总页数:${index1}/${total}</a>
	<a href="/jieyes2/page?index=1"> 第一页</a>
	<a href="/jieyes2/page?index=${index1-1 }"> 上一页</a>
	<a href="/jieyes2/page?index=${index1+1 }"> 下一页</a>
	<a href="/jieyes2/page?index=${total}"> 最后一页</a>
      </aside>
 </div>
</section>
</body>
</html>

